package com.cn;

/**
 * Created by ZYM on 2017/9/28.
 */
public class PeopleMain {
    public static void main(String[] args) throws IllegalAccessException, InstantiationException, ClassNotFoundException {

        People people1 = PeopleFactory.getPeople("People1");
        People people2 = PeopleFactory.getPeople("People2");

        people1.show();
        people2.show();

    }
}
